<?php

include("global.php");

/*
 $sql = "select * from mc_article order by aid desc";
 
 GetPage($sql,1);
*/
 //$listdb = get_list_info() ;  

//echo $fid;
//echo "<BR>";

$rs=$db->get_one("select name from mc_test_sort where fid='$fid'");
$DBTITLE="{$rs[name]}-----{$MAINTITLE}";
//var_dump($rs);


$sql ="select * from mc_test_article where fid='$fid'";
GetPage(&$sql,$page_size=8,'aid','desc');
$array=get_list_info($fid);
$showpage = ShowPage($sub="fid=$fid");
include_once("templates/head.htm");
include_once("templates/sort.htm");
include_once("templates/foot.htm");

?>